package com.syt.cellphone.information.constant

import com.syt.cellphone.information.App
import com.syt.cellphone.information.R
import com.syt.cellphone.information.data.pojo.PhoneGroup

/**
 *  @author: syt
 *  创建时间: 2020/8/7 20:33
 *  @功能   不变的常量
 *  @version v1.0
 */
object AppConst {

    const val APP_TAG = "cellPhone"

    const val CHANNEL_ID_DOWNLOAD = "channel_download"

    val phoneGroupAll = PhoneGroup(-1, App.INSTANCE.getString(R.string.all))
    val phoneGroupUpdate = PhoneGroup(-2, App.INSTANCE.getString(R.string.recent_update))

    const val UA_NAME = "User-Agent"

    val userAgent: String by lazy {
        "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36"
    }
}